package com.fliangyun.nsa.nsamanage.controller;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Rain
 * @date 2023年05月28日
 * @description
 */
@Controller
public class IndexController {

    @GetMapping({"index", ""})
    public String index(){
        return "index";
    }

    @GetMapping("login")
    public String login(){
//        System.out.println(new BCryptPasswordEncoder().encode("123456"));
        return "login";
    }

    @GetMapping("user")
    public String user(){
        return "user";
    }

    @GetMapping("calender")
    public String calender(){
        return "calender";
    }

}
